
// Console output
#define CONSOLE_COLOR_BLACK				0x00
#define CONSOLE_COLOR_BLUE				0x01
#define CONSOLE_COLOR_GREEN				0x02
#define CONSOLE_COLOR_AQUA				0x03
#define CONSOLE_COLOR_RED				0x04
#define CONSOLE_COLOR_PURPLE			0x05
#define CONSOLE_COLOR_YELLOW			0x06
#define CONSOLE_COLOR_WHITE				0x07
#define CONSOLE_COLOR_GRAY				0x08
#define CONSOLE_COLOR_LIGHT_BLUE		0x09
#define CONSOLE_COLOR_LIGHT_GREEN		0x0A
#define CONSOLE_COLOR_LIGHT_AQUA		0x0B
#define CONSOLE_COLOR_LIGHT_RED			0x0C
#define CONSOLE_COLOR_LIGHT_PURPLE		0x0D
#define CONSOLE_COLOR_LIGHT_YELLOW		0x0E
#define CONSOLE_COLOR_FG_WHITE_EXTRA	0x0F
#define CONSOLE_COLOR_BG_BLINK			0x0F

extern "C"
{
	void init_console();

	void cls();
	void ClearCurrentRow();

	void SetFGColor(BYTE c);
	void SetBGColor(BYTE c);

	void puts(char* c);
	void putch(char c);
	void putline(char* c = NULL);
}